package org.jzs.mybaseapp.section.home.entity;

import java.util.List;

/**
 * Created by Jzs on 2017/7/31.
 */

public class CourseEntity {
    /**
     * code : 1200
     * message : success
     * data : {"goodsId":"1006","goodsName":"罗兰数字音乐教育用琴弦体验夏威夷的阳光\u2014\u2014尤克里里速成班！","school":{"schoolId":"829","schoolName":"罗兰数字音乐教育(世欧王庄店)"},"images":{"imgId":"985","imgUrl":"http://image2.xuejaja.cn/image/upload/20170725/201707250934351500946475687574.jpg"},"goodsDetail":[{"detail":"\n"},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444903223.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444222981.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444829322.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444221411.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444862437.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444826408.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170725/1500946022246704.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170725/1500946022940327.jpg"}},{"detail":"罗兰数字音乐教育自主研发电声乐器集体教学模式并研发适合中国儿童生理及心理特点的教学环节：\u201c课堂交互\u201d、\u201c空中对决\u201d、\u201c团队合奏\u201d，使每个孩子不仅学到演奏乐器的技能与技巧，还会让孩子的综合能力得到全面的发展;让每个孩子感受美妙音乐世界的同时，更让家长见证孩子性格逐步完善的过程。我们的培养目标：在快乐中学习，在音乐中成长!我们的教学理念：育人优先，技能技巧第二，把艺术教育作为育人的一种手段，将音乐作为一种语言去学习，让他们了解世界，接触更多的文化，培养一种探索、创新的精神及自信心、责任心和成就感。"},{"detail":"\n"}],"commentScore":"4.5","commentNum":"20","cat":{"catId":"6","catName":"器乐"},"groupDetail":null,"buyNote":"","validTime":"","studyTime":"","useWay":"到店使用","oldPrice":"1140.00","currentPrice":"640.00","collectionId":"0","shareUrl":"http://api.xuejaja.cn/goods.php?id=1006","type":"2","remainBuyNum":9999,"shop":"xjj","isBonusCourse":"0","suitableAge":"4-16岁","courseService":"定制","trialPeriod":"0","hours":"6","dreamPrice":"630.00","dreamDiscount":"1.56","dreamNumberOut":"10","dreamNumberIn":"9","courseDuration":"50","brief":"【精编课程介绍】\r\n1）、认识尤克里里，掌握正确的尤克里里演奏姿势、手型；\r\n2）、基础乐理知识的学习，基础乐谱的识读；\r\n3）、单一曲目的速成教学。\r\n【候选曲目】\r\n小星星 \r\n小蜜蜂 \r\n欢乐颂 \r\n小毛驴\r\n哆啦A梦 \r\n天空之城（简版）","address":"世欧广场公主塔3楼(世欧王庄)","phone":"4001176079","remainBonus":"0","maxBonusSubstitute":"0.00","isRefundable":"1","jiabiPrice":640,"isDiscountByJiabi":"1","isXFGood":0,"integralPrice":0,"myIntegral":0,"totalJB":0,"describeUrl":"http://wx.weixinxjj.com/xjjapi5_4/describe.php?shop=xjj&type=2&id=1006&is_ticket=0"}
     */

    public String code;
    public String message;
    public DataEntity data;

    public static class DataEntity {
        /**
         * goodsId : 1006
         * goodsName : 罗兰数字音乐教育用琴弦体验夏威夷的阳光——尤克里里速成班！
         * school : {"schoolId":"829","schoolName":"罗兰数字音乐教育(世欧王庄店)"}
         * images : {"imgId":"985","imgUrl":"http://image2.xuejaja.cn/image/upload/20170725/201707250934351500946475687574.jpg"}
         * goodsDetail : [{"detail":"\n"},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444903223.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444222981.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444829322.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444221411.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444862437.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444826408.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170725/1500946022246704.jpg"}},{"detailImages":{"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170725/1500946022940327.jpg"}},{"detail":"罗兰数字音乐教育自主研发电声乐器集体教学模式并研发适合中国儿童生理及心理特点的教学环节：\u201c课堂交互\u201d、\u201c空中对决\u201d、\u201c团队合奏\u201d，使每个孩子不仅学到演奏乐器的技能与技巧，还会让孩子的综合能力得到全面的发展;让每个孩子感受美妙音乐世界的同时，更让家长见证孩子性格逐步完善的过程。我们的培养目标：在快乐中学习，在音乐中成长!我们的教学理念：育人优先，技能技巧第二，把艺术教育作为育人的一种手段，将音乐作为一种语言去学习，让他们了解世界，接触更多的文化，培养一种探索、创新的精神及自信心、责任心和成就感。"},{"detail":"\n"}]
         * commentScore : 4.5
         * commentNum : 20
         * cat : {"catId":"6","catName":"器乐"}
         * groupDetail : null
         * buyNote :
         * validTime :
         * studyTime :
         * useWay : 到店使用
         * oldPrice : 1140.00
         * currentPrice : 640.00
         * collectionId : 0
         * shareUrl : http://api.xuejaja.cn/goods.php?id=1006
         * type : 2
         * remainBuyNum : 9999
         * shop : xjj
         * isBonusCourse : 0
         * suitableAge : 4-16岁
         * courseService : 定制
         * trialPeriod : 0
         * hours : 6
         * dreamPrice : 630.00
         * dreamDiscount : 1.56
         * dreamNumberOut : 10
         * dreamNumberIn : 9
         * courseDuration : 50
         * brief : 【精编课程介绍】
         * 1）、认识尤克里里，掌握正确的尤克里里演奏姿势、手型；
         * 2）、基础乐理知识的学习，基础乐谱的识读；
         * 3）、单一曲目的速成教学。
         * 【候选曲目】
         * 小星星
         * 小蜜蜂
         * 欢乐颂
         * 小毛驴
         * 哆啦A梦
         * 天空之城（简版）
         * address : 世欧广场公主塔3楼(世欧王庄)
         * phone : 4001176079
         * remainBonus : 0
         * maxBonusSubstitute : 0.00
         * isRefundable : 1
         * jiabiPrice : 640
         * isDiscountByJiabi : 1
         * isXFGood : 0
         * integralPrice : 0
         * myIntegral : 0
         * totalJB : 0
         * describeUrl : http://wx.weixinxjj.com/xjjapi5_4/describe.php?shop=xjj&type=2&id=1006&is_ticket=0
         */

        public String goodsId;
        public String goodsName;
        public SchoolEntity school;
        public ImagesEntity images;
        public String commentScore;
        public String commentNum;
        public CatEntity cat;
        public Object groupDetail;
        public String buyNote;
        public String validTime;
        public String studyTime;
        public String useWay;
        public String oldPrice;
        public String currentPrice;
        public String collectionId;
        public String shareUrl;
        public String type;
        public int remainBuyNum;
        public String shop;
        public String isBonusCourse;
        public String suitableAge;
        public String courseService;
        public String trialPeriod;
        public String hours;
        public String dreamPrice;
        public String dreamDiscount;
        public String dreamNumberOut;
        public String dreamNumberIn;
        public String courseDuration;
        public String brief;
        public String address;
        public String phone;
        public String remainBonus;
        public String maxBonusSubstitute;
        public String isRefundable;
        public int jiabiPrice;
        public String isDiscountByJiabi;
        public int isXFGood;
        public int integralPrice;
        public int myIntegral;
        public int totalJB;
        public String describeUrl;
        public List<GoodsDetailEntity> goodsDetail;

        public static class SchoolEntity {
            /**
             * schoolId : 829
             * schoolName : 罗兰数字音乐教育(世欧王庄店)
             */

            public String schoolId;
            public String schoolName;

            @Override
            public String toString() {
                return "SchoolEntity{" +
                        "schoolId='" + schoolId + '\'' +
                        ", schoolName='" + schoolName + '\'' +
                        '}';
            }
        }

        public static class ImagesEntity {
            /**
             * imgId : 985
             * imgUrl : http://image2.xuejaja.cn/image/upload/20170725/201707250934351500946475687574.jpg
             */

            public String imgId;
            public String imgUrl;

            @Override
            public String toString() {
                return "ImagesEntity{" +
                        "imgId='" + imgId + '\'' +
                        ", imgUrl='" + imgUrl + '\'' +
                        '}';
            }
        }

        public static class CatEntity {
            /**
             * catId : 6
             * catName : 器乐
             */

            public String catId;
            public String catName;

            @Override
            public String toString() {
                return "CatEntity{" +
                        "catId='" + catId + '\'' +
                        ", catName='" + catName + '\'' +
                        '}';
            }
        }

        public static class GoodsDetailEntity {
            /**
             * detail :
             * <p>
             * detailImages : {"imgId":"","imgUrl":"http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444903223.jpg"}
             */

            public String detail;
            public DetailImagesEntity detailImages;

            public static class DetailImagesEntity {
                /**
                 * imgId :
                 * imgUrl : http://api.xuejaja.cn/ueditor/php/upload/image/20170721/1500627444903223.jpg
                 */

                public String imgId;
                public String imgUrl;

                @Override
                public String toString() {
                    return "DetailImagesEntity{" +
                            "imgId='" + imgId + '\'' +
                            ", imgUrl='" + imgUrl + '\'' +
                            '}';
                }
            }

            @Override
            public String toString() {
                return "GoodsDetailEntity{" +
                        "detail='" + detail + '\'' +
                        ", detailImages=" + detailImages +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataEntity{" +
                    "goodsId='" + goodsId + '\'' +
                    ", goodsName='" + goodsName + '\'' +
                    ", school=" + school +
                    ", images=" + images +
                    ", commentScore='" + commentScore + '\'' +
                    ", commentNum='" + commentNum + '\'' +
                    ", cat=" + cat +
                    ", groupDetail=" + groupDetail +
                    ", buyNote='" + buyNote + '\'' +
                    ", validTime='" + validTime + '\'' +
                    ", studyTime='" + studyTime + '\'' +
                    ", useWay='" + useWay + '\'' +
                    ", oldPrice='" + oldPrice + '\'' +
                    ", currentPrice='" + currentPrice + '\'' +
                    ", collectionId='" + collectionId + '\'' +
                    ", shareUrl='" + shareUrl + '\'' +
                    ", type='" + type + '\'' +
                    ", remainBuyNum=" + remainBuyNum +
                    ", shop='" + shop + '\'' +
                    ", isBonusCourse='" + isBonusCourse + '\'' +
                    ", suitableAge='" + suitableAge + '\'' +
                    ", courseService='" + courseService + '\'' +
                    ", trialPeriod='" + trialPeriod + '\'' +
                    ", hours='" + hours + '\'' +
                    ", dreamPrice='" + dreamPrice + '\'' +
                    ", dreamDiscount='" + dreamDiscount + '\'' +
                    ", dreamNumberOut='" + dreamNumberOut + '\'' +
                    ", dreamNumberIn='" + dreamNumberIn + '\'' +
                    ", courseDuration='" + courseDuration + '\'' +
                    ", brief='" + brief + '\'' +
                    ", address='" + address + '\'' +
                    ", phone='" + phone + '\'' +
                    ", remainBonus='" + remainBonus + '\'' +
                    ", maxBonusSubstitute='" + maxBonusSubstitute + '\'' +
                    ", isRefundable='" + isRefundable + '\'' +
                    ", jiabiPrice=" + jiabiPrice +
                    ", isDiscountByJiabi='" + isDiscountByJiabi + '\'' +
                    ", isXFGood=" + isXFGood +
                    ", integralPrice=" + integralPrice +
                    ", myIntegral=" + myIntegral +
                    ", totalJB=" + totalJB +
                    ", describeUrl='" + describeUrl + '\'' +
                    ", goodsDetail=" + goodsDetail +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "CourseEntity{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
